package forces;

import java.util.Collection;
import simulation.Mass;
import util.Vector;


/**
 * This abstract class represents forces that can act upon masses.
 * 
 */
public abstract class Force extends Vector {

    /**
     * Creates a zero vector force.
     */
    public Force () {
    }

    /**
     * Creates a force with the angle directed and a magnitude.
     * 
     */
    public Force (double angle, double magnitude) {
        super(angle, magnitude);
    }

    /**
     * Updates the vector quantity of the force on each mass provided.
     */
    public abstract void update (Collection<Mass> masses);
}
